* {
    font-family: Noto Sans SC, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, 微软雅黑, Arial, sans-serif
}

body {
    margin: 0px auto;
    background-image: url("../img/bg.jpg");
    background-repeat: repeat;
}


ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}


.zmain {
    width: 1024px;
    margin: auto;
    color: #314659;
    color: #807367;
    margin-top: 10px;
    height: 610px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    box-shadow: 1px 3px 5px #B5ADA2;
    background: linear-gradient(to bottom, rgba(244, 241, 235, 1) 0%, rgba(237, 233, 224, 1) 1%, rgba(228, 223, 210, 1) 100%);
}

.ztitle {
    font-size: 20px;
    color: #24292f;
    background: #fafafa;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(230, 225, 211, 1) 0%, rgba(218, 211, 191, 1) 100%);
    border-bottom: 1px solid #d0c4af;
    font-size: 18px;
    font-weight: 500;
    color: #5f513f;
}

.opt-div {
    margin-top: 10px;
}

.zbtn {
    color: white;
    outline: none;
    border: 1px solid #68768A;
    border-radius: 3px;
    height: 32px;
    width: 60px;
    background-color: #68768A;
}

.zbtn1 {
    width: 320px;
    margin-left: 0px;
    margin-right: 6px;
}

.zbtn2 {
    width: 100px;
    margin-right: 50px;
}

.zbtn3 {
    width: 120px;
}

.textarea-div {
    width: 640px;
}

.textarea-div>textarea {
    resize: none;
    height: 434px;
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    background: none;
    outline: none;
    background: #ded6c5;
    padding: 8px 8px !important;
    color: #333;
    overflow-y: auto;
    box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26), 0 1px 1px rgba(255, 255, 255, 0.6);
}

.min-common-title {
    color: #807367;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.min-common-title::before {
    content: "";
    display: inline-block;
    height: 14px;
    width: 3px;
    background: #a7734f;
    opacity: 0.9;
    margin-right: 4px;
}

.show-div {
    position: relative;
}

.edit-div {
    width: 100%;
    height: 520px;
}

.a-select {
    cursor: pointer;
    background: linear-gradient(to bottom, rgba(230, 225, 211, 1) 0%, rgba(218, 211, 191, 1) 100%);
    height: 32px;
    box-shadow: 0 3px 3px rgba(194, 187, 177, 0.75);
    border: none;
    border-top: 1px solid #f5f5ef;
    box-sizing: border-box;
    color: #746951;
    border-radius: 4px;
    padding-left: 8px;
    position: relative;
    bottom: 3px;
}

.a-select>option {
    background: #f0eee5;
}

.match-attr-div>div {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.match-attr-div>div>span {
    line-height: 24px;
}

.match-attr-div>div>span:nth-of-type(2n) {
    font-size: 18px;
    margin-right: 72px;
    font-weight: bolder;
    white-space: nowrap;
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #5f513f;
    font-weight: 500;
}

#gbk-num {
    margin-right: 0px;
}

.copy-span {
    font-size: 14px;
}


.single-word-ul {
    border: 1px solid #68768a;
    padding-left: 0px;
    margin-left: 0px;
    display: inline-block;
    margin-top: 0px;
    vertical-align: top;
    margin-right: 12px;
    border-radius: 5px;
}

.single-word-ul>li {
    float: left;
    border-right: 1px solid #68768a;
}

.single-word-ul>li:last-of-type {
    border-right: none;
}

.single-word-ul>li>a {
    color: #68768a;
    padding-left: 8px;
    padding-right: 8px;
    display: inline-block;
    height: 30px;
    line-height: 28px;
}

.single-selected,
.single-word-ul>li>a:hover {
    color: #fff !important;
    background-color: #68768a;
}


.single-word-div {
    vertical-align: top;
}


.layui-btn {
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

input:focus,
select:focus {
    outline: none !important;
}

.opt-ipt {
    height: 36px;
    border-width: 1px;
    border-style: solid;
    background-color: #fff;
    border-radius: 2px;
    border-color: #ccc;
    padding-left: 6px;
    width: 201px;
    margin-right: 4px;
}

.ops-div {
    margin-top: 14px;
    position: relative;
}

.auto-rep-div {
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    width: 320px;
}

.auto-rep-div>a {
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 13px;
    margin-right: 8px;
    color: #746951;
    color: #8d8273;
    margin-bottom: 8px;
    background: #f0eee5;
    box-shadow: 0 3px 3px rgba(194, 187, 177, 0.75);
}

.auto-rep-div>a:active {
    position: relative;
    top: 1px;
}

.upload-tips {
    font-size: 12px;
}

.pb2 {
    position: relative;
    bottom: 2px;
}

.rep-div {
    margin-top: 20px;
    padding-bottom: 20px;
}

.rep-div a {
    border: 1px solid #009688;
    color: #009688;
    padding-left: 10px;
    cursor: pointer;
    border-radius: 3px;
    margin-left: 10px;
    display: inline-block;
    width: 240px;
    height: 32px;
    line-height: 32px;
    vertical-align: top;
}

.rep-div span {
    display: inline-block;
    width: 100px;
    overflow: hidden;
}

.rep-div>div {
    margin-bottom: 20px;
}



.ant-input {
    box-sizing: border-box;
    margin: 0;
    font-variant: tabular-nums;
    list-style: none;
    font-feature-settings: "tnum";
    position: relative;
    display: inline-block;
    width: 100%;
    height: 32px;
    padding: 4px 11px;
    color: #314659;
    font-size: 14px;
    line-height: 1.5;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all .3s;
    outline: none;
    font-family: 'Consolas';
}

.ant-input:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(24 144 255 / 20%);
}

.ant-input:focus,
.ant-input:hover {
    border-color: #40a9ff;
    border-right-width: 1px !important;
}

.ant-btn:active {
    position: relative;
    top: 1px;
}

.ant-btn {
    line-height: 1.499;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    box-shadow: 0 2px 0 rgb(0 0 0 / 2%);
    cursor: pointer;
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    height: 32px;
    padding: 0 15px;
    font-size: 14px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
}

.ant-btn-clear {
    background: lightseagreen;
    border-color: lightseagreen;
}

.search-target {
    width: 200px;
}

.replace-text {
    width: 100px;
}

.add-div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 22px;
}

.btn-part {
    margin-left: 22px;
    flex-grow: 1;
    position: relative;
    bottom: 6px;
}

.edit-text-part {
    flex-grow: 0;
    flex-shrink: 0;
}

.btn-part>div {
    padding: 0px 12px 24px 12px;
    border-radius: 4px;
}

.btn-part>div>div {
    margin-bottom: 8px;
}

.btn-part>div>div:last-of-type {
    margin-bottom: 0;
}

.btn-part>div>input[type="button"] {
    margin-right: 4px;
}

.btn-reset-green {
    outline: none;
    transform: scale(0.78);
    position: relative;
    right: 12px;
}



.w-100 {
    width: 100px;
}

.w-200 {
    width: 200px;
}

.w-210 {
    width: 210px;
}

.r-4 {
    margin-right: 4px;
}

.rep-opt-line {
    display: flex;
    align-items: center;
}

.rep-opt-line>span {
    width: 5rem;
}

.w-ipt-short {
    width: 130px;
}

.replace-rep-line {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

/*-----------------------------------*/
/* Buttons */
/*-----------------------------------*/

/* foo classes */
.buttons-wrap {
    margin-bottom: 50px;
}

.buttons {
    margin-bottom: 20px;
}

.main-btns {
    display: flex;
    align-items: center;
}

.buttons .btn {
    margin-right: 10px;
}

.buttons .btn.btn-left.btn-green,
.buttons .btn.btn-right.btn-green,
.buttons .btn.btn-acute {
    margin-right: 0;
}

.buttons-mini {
    margin-bottom: 10px;
}

.buttons-mini .btn {
    margin-right: 1px;
}

/* end foo classes */

.btn:hover,
.btn:focus {
    -webkit-transition: background-position .0s linear;
    -moz-transition: background-position .0s linear;
    -o-transition: background-position .0s linear;
    transition: background-position .0s linear;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
    background-color: transparent;
}

.btn.active,
.btn:active,
.btn.btn-white.active,
.btn.btn-white:active,
.btn.btn-large.active,
.btn.btn-large:active,
.btn.btn-follow.active,
.btn.btn-follow:active {
    background-image: url(../img/buttons.png);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.btn {
    display: inline-block;
    background-image: url(../img/buttons.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: right -42px;
    height: 42px;
    line-height: 36px;
    padding: 0;
    padding-right: 30px;
    border: 0 none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.btn span,
.btn input {
    display: block;
    background-image: url(../img/buttons.png);
    background-repeat: no-repeat;
    background-position: left 0;
    background-color: transparent;
    padding: 0;
    padding-left: 30px;
    height: 42px;
    line-height: 40px;
    border: none;
    outline: none;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(132, 101, 51, 0.6);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.btn input {
    padding-bottom: 6px;
}

.btn.btn-white span,
.btn.btn-white input {
    color: #504433;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.75);
}

.btn:hover,
.btn:focus {
    background-position: right -42px;
    background-image: url(../img/buttons.png);
    background-color: transparent;
    color: #fefae5;
}

.btn.btn-large {
    height: 50px;
    line-height: 48px;
}

.btn.btn-large span,
.btn.btn-large input {
    height: 50px;
    line-height: 48px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.btn.btn-follow {
    height: 30px;
    line-height: 26px;
    padding-right: 20px;
}

.btn.btn-follow span,
.btn.btn-follow input {
    height: 30px;
    line-height: 26px;
}

.btn.btn-search {
    height: 40px;
    line-height: 34px;
    padding-right: 40px;
}

.btn.btn-search span,
.btn.btn-search input {
    height: 40px;
    line-height: 34px;
    padding-left: 12px;
}

.btn.btn-green span,
.btn.btn-green input {
    text-shadow: 1px 1px 1px #7c9b5f;
}

.btn.btn-acute span,
.btn.btn-acute input {
    color: #665b4d;
    text-shadow: 1px 1px 1px #fff;
}

.btn.btn-mini,
input.btn.btn-mini {
    width: 29px;
    height: 29px;
    padding: 0;
    background-image: url(images/buttons-mini.png);
    background-repeat: no-repeat;
    background-position: 0 0;
}

.btn:active {
    position: relative;
    top: 1px;
}

/* Button Shapes */

.btn.btn-mini.btn-play,
input.btn.btn-mini.btn-play {
    background-position: -29px 0;
}

.btn.btn-mini.btn-close,
input.btn.btn-mini.btn-close {
    background-position: -58px 0;
}

.btn.btn-hover span,
.btn.btn-hover input,
.btn.btn-hover span,
.btn.btn-hover input {
    background-position: left -84px;
}

.btn.btn-hover,
.btn.btn-hover {
    background-position: right -126px;
}

.btn.btn-hover:hover span,
.btn.btn-hover:hover input,
.btn.btn-hover.hover span,
.btn.btn-hover.hover input {
    background-position: left -168px;
}

.btn.btn-hover:hover,
.btn.btn-hover.hover {
    background-position: right -210px;
}

/* .btn.btn-hover:active span, .btn.btn-hover:active input, .btn.btn-hover.active span, .btn.btn-hover.active input{background-position:left -252px;}
.btn.btn-hover:active, .btn.btn-hover.active{background-position:right -294px;} */

.btn.btn-white span,
.btn.btn-white input {
    background-position: left -336px;
}

.btn.btn-white {
    background-position: right -378px;
}

.btn.btn-left span,
.btn.btn-left input {
    background-position: left -420px;
}

.btn.btn-left {
    background-position: right -462px;
    padding-right: 25px;
}

.btn.btn-right span,
.btn.btn-right input {
    background-position: left -504px;
    padding-left: 25px;
}

.btn.btn-right {
    background-position: right -546px;
}

.btn.btn-left.btn-green span,
.btn.btn-left.btn-green input {
    background-position: left -588px;
    line-height: 34px;
    padding-left: 22px;
    font-size: 11px;
}

.btn.btn-left.btn-green {
    background-position: right -630px;
    padding-right: 13px;
}

.btn.btn-right.btn-green span,
.btn.btn-right.btn-green input {
    background-position: left -672px;
    padding-left: 13px;
    line-height: 34px;
    font-size: 11px;
}

.btn.btn-right.btn-green {
    background-position: right -714px;
    padding-right: 22px;
}

.btn.btn-acute span,
.btn.btn-acute input {
    background-position: left -756px;
    padding-left: 20px;
    font-size: 11px;
}

.btn.btn-acute {
    background-position: right -798px;
    padding-right: 20px;
}

.btn.btn-large span,
.btn.btn-large input {
    background-position: left -840px;
}

.btn.btn-large {
    background-position: right -890px;
}



.btn.btn-follow span,
.btn.btn-follow input {
    background-position: left -940px;
}

.btn.btn-follow {
    background-position: right -970px;
}

.btn.btn-search span,
.btn.btn-search input {
    background-position: left -1000px;
}

.btn.btn-search {
    background-position: right -1040px;
}



input[type="text"],
input[type="password"],
textarea,
.select_styled {
    border-top: 1px solid #c0b9ae;
    border-left: 1px solid #c0b9ae;
    border-right: 1px solid #dad4c9;
    border-bottom: 1px solid #dad4c9;
    background: #e8e4db;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0 16px;
    font-size: 17px;
    padding: 0;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26);
    -moz-box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26);
    box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26);
    width: 100%;
}


input.a-input {
    background: #ded6c5;
    height: 32px;
    -webkit-box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26), 0 1px 1px rgba(255, 255, 255, 0.6);
    -moz-box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26), 0 1px 1px rgba(255, 255, 255, 0.6);
    box-shadow: inset 1px 1px 3px rgba(118, 108, 100, 0.26), 0 1px 1px rgba(255, 255, 255, 0.6);
    border: 1px solid #B9AD9E;
    padding-left: 8px;
    font-size: 14px;
    outline: none;
    width: 200px;
    color: #333;
}

input.a-input::-webkit-input-placeholder {
    color: #786e55;
    opacity: 0.7;
}

input.a-input:-ms-input-placeholder {
    color: #786e55;
    opacity: 0.7;
}

input.a-input::placeholder {
    color: #786e55;
    opacity: 0.7;
}

select::selection,
select:focus,
select:visited,
select:active {
    background: none;
}


/* 删除焦点时的蓝色背景 */
option:focus {
    background-color: transparent;
}

/* 针对IE10+ */
input::-ms-fill-upper {
    background: transparent;
}

input[type="text"]::-ms-fill-lower {
    background: transparent;
}

select::-ms-browse {
    background: none;
    border: none;
}

select::-ms-expand {
    background: none;
    border: none;
}

select {
    -webkit-appearance: none;
    /* for Chrome, Safari */
    -moz-appearance: none;
    /* for Firefox */
    -ms-appearance: none;
    /* for IE10+ */
    appearance: none;
    /* for standard browsers */
}

.cut-word-btn {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    padding: 0;
    font-size: 20px;
    user-select: none;
    position: relative;
}

.cut-word-num {
    margin: 0 8px;
    display: inline-block;
    height: 32px;
    line-height: 32px;
    width: 118px;
    text-align: center;
    user-select: none;
}

.cut-word-btn:active {
    position: relative;
    bottom: 2px;
}
.main-btns-mobile{
    display: none;
}
.upload-tips-mobile{
    display: none;
}
@media screen and (max-width: 500px) {
    .zmain {
        width: 100vw;
        height: auto;
        margin-top: 0;
        border: none;
        min-height: 100vh;
    }

    .ztitle {
        display: none !important;
    }

    .textarea-div {
        width: 100%;
    }

    .add-div {
        display: block;
    }

    .match-attr-div {
        margin-top: 8px;
        margin-bottom: 20px;
    }

    .match-attr-div>div {
        display: block;
        display: grid;
        margin-top: 0px;
        grid-template-columns: auto 1fr;
    }

    .match-attr-div>div:nth-of-type(1) {
        grid-template-columns: auto 60px auto 1fr;
        row-gap: 4px;
        margin-bottom: 4px;
    }

    .match-attr-div>div:nth-of-type(1)>span {
        white-space: nowrap;
    }

    .match-attr-div>div:nth-of-type(1)>span:nth-of-type(2n) {
        margin-right: 10px;
    }

    .match-attr-div>div:nth-of-type(1)>span:nth-of-type(6) {
        grid-column: 2 / 5;
    }

    .textarea-div>textarea {
        height: 360px;
    }

    .btn-part {
        margin-left: 0;
    }

    .edit-div {
        height: auto;
    }

    .main-btns {
        display: flex;
        align-items: center;
    }
    #cut-text-part{
        display: none;

    }
    #replace-text-part{
        display: none;
    }
    #deal-upload-part{
        display: none;
    }
    .main-btns-mobile{
        display: flex;
        margin-top: -5px;
    }
    .upload-tips-mobile{
        display: block;
    }
    .add-div{
        padding-bottom: 10px;
    }
    .mobile-modal-edit-part{
        margin: 0px auto;
        background-image: url(../img/bg.jpg);
        background-repeat: repeat;
        box-sizing: border;
        padding: 24px 14px;
    }
    .layui-layer-page{
        padding: 0 !important;
    }
    .layui-layer-title{
        margin-bottom: 0 !important;
    }
    .auto-rep-div{
        margin-top: 6px;
    }
}

